import re

pattern = "(\d+)(天|周|月|年)"
print(re.findall(pattern, "毛囊炎大概2-3周，15天痊愈"))

test = [3,2,1,4]
test.sort()
print(test)